import request from '@/utils/request'
export function listRelationPage(data, pageNum, pageSize) {
  return request({
    url: 'relation/listRelationPage',
    method: 'post',
    data,
    headers: { pageNum: pageNum, pageSize: pageSize }
  })
}
export function saveRelation(data) {
  return request({
    url: 'relation/saveRelation',
    method: 'post',
    data
  })
}
export function getRelation(data) {
  return request({
    url: 'relation/getRelation',
    method: 'post',
    data
  })
}
export function updateRelation(data) {
  return request({
    url: 'relation/updateRelation',
    method: 'post',
    data
  })
}
export function uploadExcel(data) {
  return request({
    url: 'relation/uploadExcel',
    method: 'post',
    data
  })
}
